import request from '@/utils/request'

// 查询考生当年同位分列表
export function listBuzMemberGrade(query) {
  return request({
    url: '/system/buzMemberGrade/list',
    method: 'get',
    params: query
  })
}

// 查询考生当年同位分详细
export function getBuzMemberGrade(id) {
  return request({
    url: '/system/buzMemberGrade/' + id,
    method: 'get'
  })
}

// 新增考生当年同位分
export function addBuzMemberGrade(data) {
  return request({
    url: '/system/buzMemberGrade',
    method: 'post',
    data: data
  })
}

// 修改考生当年同位分
export function updateBuzMemberGrade(data) {
  return request({
    url: '/system/buzMemberGrade',
    method: 'put',
    data: data
  })
}

// 删除考生当年同位分
export function delBuzMemberGrade(id) {
  return request({
    url: '/system/buzMemberGrade/' + id,
    method: 'delete'
  })
}
